package com.ruoyi.fs.mapper;

import java.util.List;
import com.ruoyi.fs.domain.FsCaseRepaymentSchedule;

/**
 * 还款计划Mapper接口
 * 
 * @author hero
 * @date 2024-11-11
 */
public interface FsCaseRepaymentScheduleMapper 
{
    /**
     * 查询还款计划
     * 
     * @param id 还款计划主键
     * @return 还款计划
     */
    public FsCaseRepaymentSchedule selectFsCaseRepaymentScheduleById(Long id);

    /**
     * 查询还款计划列表
     * 
     * @param fsCaseRepaymentSchedule 还款计划
     * @return 还款计划集合
     */
    public List<FsCaseRepaymentSchedule> selectFsCaseRepaymentScheduleList(FsCaseRepaymentSchedule fsCaseRepaymentSchedule);

    /**
     * 新增还款计划
     * 
     * @param fsCaseRepaymentSchedule 还款计划
     * @return 结果
     */
    public int insertFsCaseRepaymentSchedule(FsCaseRepaymentSchedule fsCaseRepaymentSchedule);

    /**
     * 修改还款计划
     * 
     * @param fsCaseRepaymentSchedule 还款计划
     * @return 结果
     */
    public int updateFsCaseRepaymentSchedule(FsCaseRepaymentSchedule fsCaseRepaymentSchedule);

    /**
     * 删除还款计划
     * 
     * @param id 还款计划主键
     * @return 结果
     */
    public int deleteFsCaseRepaymentScheduleById(Long id);

    /**
     * 批量删除还款计划
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFsCaseRepaymentScheduleByIds(Long[] ids);
}
